package com.accp.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 辉
 * @since 2019-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TzTransfee extends Model<TzTransfee> {

    private static final long serialVersionUID=1L;

    /**
     * 运费项id
     */
    @TableId(value = "transfee_id", type = IdType.AUTO)
    private Long transfeeId;

    /**
     * 运费模板id
     */
    private Long transportId;

    /**
     * 续件数量
     */
    private BigDecimal continuousPiece;

    /**
     * 首件数量
     */
    private BigDecimal firstPiece;

    /**
     * 续件费用
     */
    private BigDecimal continuousFee;

    /**
     * 首件费用
     */
    private BigDecimal firstFee;


    @Override
    protected Serializable pkVal() {
        return this.transfeeId;
    }

}
